package com.net.noah.core.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.net.common.annotation.DataCommon;
import com.net.common.dao.PagedMapper;
import com.net.noah.core.domain.SerialNumber;

@DataCommon
@Repository
public interface SerialNumberMapper extends PagedMapper<Long, SerialNumber> {
    SerialNumber getByNameWithLock(@Param("name") String name);
}
